package com.um.jdy.platform.device.entity.dto;

import com.um.springboot.starter.orm.params.PageDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 邓南辉
 * 日期 2023/2/13
 * 版权所有 广州优匠科技有限公司
 */
@Data
public class GunPageDTO extends PageDTO {

    @ApiModelProperty(value = "枪状态")
    private String status;

    @ApiModelProperty(value = "运营商ID")
    private String platformMerchantId;

    @ApiModelProperty(value = "站场ID")
    private String deviceStationId;

    @ApiModelProperty(value = "充电桩编码")
    private String code;

    @ApiModelProperty(value = "充电桩名称")
    private String name;


//    @Override
//    public PageParams toPageParams() {
//        PageParams pageParams = toPageParams(
//                new String[]{"devicePileId"},
//                new String[]{"device_pile_id"});
//        pageParams.getCondition().put("orderby","code asc");
//        return pageParams;
//    }
}
